
import _string, _integer, _boolean, _float, _bytes
import _iolist, _ipaddress, _credentials, _subscriber, _connection, _environment
  
class String(_string.String):
    
    def __init__(self,name=None,value=None):
        _string.String.__init__(self,name=name,value=value)

class Boolean(_boolean.Boolean):
    
    def __init__(self,name=None,value=None):
        _boolean.Boolean.__init__(self,name=name,value=value)

class Integer(_integer.Integer):

    def __init__(self,name=None,value=None):
        _integer.Integer.__init__(self,name=name,value=value)

class Float(_float.Float):
    
    def __init__(self,name=None,value=None):
        _float.Float.__init__(self,name=name,value=value)
    
class KB(_bytes.KB):
    
    def __init__(self,name=None,value=None):
        _bytes.KB.__init__(self,name=name,value=value)
    
class MB(_bytes.MB):
    
    def __init__(self,name=None,value=None):
        _bytes.MB.__init__(self,name=name,value=value)
    
class GB(_bytes.GB):
    
    def __init__(self,name=None,value=None):
        _bytes.GB.__init__(self,name=name,value=value)

class IPv4(_ipaddress.IPv4):
    
    def __init__(self,name=None,value=None):
        _ipaddress.IPv4.__init__(self,name=name,value=value)

class IOList(_iolist.IOList):
    
    def __init__(self,name=None,require=''):
        _iolist.IOList.__init__(self,name,require)
    
class Credentials(_credentials.Credentials):
    
    def __init__(self,name=None,username='',password='',group='',ip='',**kwargs):
        _credentials.Credentials.__init__(self,name=name,username=username,password=password,group=group,ip=ip,**kwargs)

class Subscriber(_subscriber.Subscriber):
    
    def __init__(self,name=None,username='',group='',handler='',**kwargs):
        _subscriber.Subscriber.__init__(self,name=name,username=username,group=group,handler=handler,**kwargs)

class Connection(_connection.Connection):
    
    def __init__(self,name=None,username='',password='',group='',userclass='',host='',port='0'):
        _connection.Connection.__init__(self,name=name,username=username,password=password,group=group,userclass=userclass,host=host,port=port)

class Environment(_environment.Environment):
    
    def __init__(self,ip,username,group,connectionid,requestid,element=None):
        _environment.Environment.__init__(self,ip,username,group,connectionid,requestid,element=element)


if __name__ == '__main__':
    
    ip = IPv4(name="mike",value="127.0.0.1/255.255.255.0")
    print str(ip)
    
    
    b = Boolean(name="Mike",value=True)
    
    print str(b)
    
    